package com.jinzhi.jzweb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jinzhi.jzweb.dao.ArchivesDao;
import com.jinzhi.jzweb.domain.ArchivesDO;
import com.jinzhi.jzweb.service.ArchivesService;
import com.jinzhi.common.base.CoreServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2021-07-21 16:50:07 | lance</small>
 */
@Service
public class ArchivesServiceImpl extends CoreServiceImpl<ArchivesDao, ArchivesDO> implements ArchivesService {

    @Autowired
    private ArchivesDao archivesDao;

    @Override
    public List<Map> listCost(Map map) {
        return archivesDao.listCost(map);
    }

    @Override
    public List<Map> listArchives(Map map) {
        return archivesDao.listArchives(map);
    }

    @Override
    public List<Map> listOrg() {
        return archivesDao.listOrg();
    }

    @Override
    public List<Map> sumMoneySchool() {
        return archivesDao.sumMoneySchool();
    }

    @Override
    public String schoolNmae(String name) {
        return archivesDao.schoolNmae(name);
    }
}
